// 示例 主模块
import Layout from '../../layout/Layout.vue'

const main = [{
  path: '/',
  component: Layout,
  redirect: '/home',
  meta: { title: '主菜单', elSvgIcon: 'Menu' },
  children: [
    {
      path: '/home',
      name: 'Home',
      component: () => import('@/views/demo/home.vue'),
      meta: { title: '图表演示', elSvgIcon: 'Histogram', keepAlive: true  }
    },
    {
      path: '/baseTable',
      name: 'BaseTable',
      component: () => import('@/views/demo/baseTable.vue'),
      meta: { title: '基础表格演示', elSvgIcon: 'Grid', keepAlive: true},
      hidden: false
    },
    {
      path: '/multiHeaderTable',
      name: 'MultiHeaderTable',
      component: () => import('@/views/demo/multiHeaderTable.vue'),
      meta: { title: '多级表头表格演示', elSvgIcon: 'Grid', keepAlive: true },
      hidden: false
    },
    {
      path: '/customTable',
      name: 'CustomTable',
      component: () => import('@/views/demo/customTable.vue'),
      meta: { title: '自定义表格演示', elSvgIcon: 'Grid', keepAlive: true},
      hidden: false
    }
  ]
}]

export {
  main
}
